(reset-language-environment): Put the highset priority to the charset
authorKenichi Handa <handa@m17n.org>
Tue, 7 Jul 2009 05:59:18 +0000 (05:59 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 7 Jul 2009 05:59:18 +0000 (05:59 +0000)
iso-8859-1.

lisp/international/mule-cmds.el

index 34d4fb3830d252482cec5ad4cb3d6c76b971c7d8..ac94cadad0679e6ba3576dde85be932fcfb6a50d 100644 (file)
@@ -1794,6 +1794,11 @@ The default status is as follows:
           (coding-system-error 'iso-latin-1))))
     (setq default-process-coding-system
          (cons output-coding input-coding)))
+  ;; Put the highest priority to the charset iso-8859-1 to prefer the
+  ;; registry iso8859-1 over iso8859-2 in font selection.  It also
+  ;; makes unibyte-display-via-language-environment to use iso-8859-1
+  ;; as the unibyte charset.
+  (set-charset-priority 'iso-8859-1)
 
   ;; Don't alter the terminal and keyboard coding systems here.
   ;; The terminal still supports the same coding system